<div class="jumbotron subhead" id="overview">

    
 <div>   
  <div id="componentWrapper">
                 
              <div class="thumbContainer">
                    
                    <div class="thumbInnerContainer" style="width: 5170px; display: block; left: -1125px;">
<?
    $i = 0;
	$id_citta = ""; //Da recuperare con la localizzazione dell'utente
	include_once SYSTEM_ROOT . 'lib/banner.class.php';
	$obj = new Banner();
	$resBanners = $obj->ShowListBannersSection("Box", "Sx", "", 15);
	
    while ($row = mysql_fetch_array($resBanners))
    {    
        $i++;
		$path_banner = $row['path_banner'];
		$title_banner = $row['title_banner'];
		$slogan_banner = $row['slogan_banner'];
		if(isset($_SESSION['lingua']) && $_SESSION['lingua'] !="it")
		{
			//$href_banner = $translate->TranslateHrefBanner($href_banner);
			$href_banner_col = "href_banner_".$_SESSION['lingua'];
			if($row[$href_banner_col] != "" && $row[$href_banner_col] != null)
				$href_banner = $row[$href_banner_col];
			else
				$href_banner = $row['href_banner'];
		}
		else
			$href_banner = $row['href_banner']; //Italiano
		 
		//$href_banner = $_SESSION['lingua_url'].substr_replace($href_banner, "", strpos($href_banner, "/"), strlen("/")); 
		//$obj = new Main();
        //$title_banner = $obj->CleanStringForUrl($title_banner);
		
		?>                    
                   		 <div class="thumbHolder" data-id-i="0" data-id-j="0"> 
                          <a class="pp_content" href="<?=$href_banner?>" title="<?=$title_banner?>"><img src="http://static.escortfashion.com<?=$path_banner?>" alt="<?=$title_banner?>" width="190" height="120"/></a>  
                             <p class="title"><?=$title_banner?></p>
                             <p class="info"><?=$slogan_banner?></p>
                         </div>
<?
    }
    mysql_free_result($resBanners);    
?>                
                    </div>
                    
            </div>
            
            <div class="thumbBackward thumb_hidden" style="cursor: pointer; display: block; opacity: 1;"><img src="/data/icons/thumb_backward.png" alt="" width="21" height="31"></div>	
            <div class="thumbForward thumb_hidden" style="cursor: pointer; display: block; opacity: 1;"><img src="/data/icons/thumb_forward.png" alt="" width="21" height="31"></div>  
               
        </div>
     

    
</div>
</div>

